/*
 * @文件描述:
 * @公司: 山东大学信息学院
 * @作者: 宋益强
 * @Date: 2019-09-21 11:24:33
 * @LastEditors  : 李洪文
 * @LastEditTime : 2019-12-19 10:30:13
 */

import { StatusBar } from 'react-native';
import colors from './colors';
// import size from './size';
// import Icon from '@/components/Iconfont';
import { NavigationStackRouterConfig } from 'react-navigation';

const defaultNavigationOptions: NavigationStackRouterConfig['initialRouteParams'] = {
  headerStyle: {
    // paddingTop: size.STATUSBAR_HEIGHT,
    // height: size.NAV_HEADER_HEIGHT,
    height: 64 - (StatusBar.currentHeight || 0),
    backgroundColor: colors.primary,
  },
  headerTitleStyle: {
    textAlign: 'center',
    flex: 1,
    color: colors.white,
    fontWeight: 'bold',
  },
  headerTintColor: colors.white,
  // headerBackImage: <Icon name="icon-fanhui" color={colors.white} size={size.px(20)} />,
};

export default defaultNavigationOptions;
